﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepository
{
    public interface ISysDictDataRepository
    {
        /// <summary>根据类型编码获取字典数据列表</summary>
        /// <param name="dictTypeCode">字典类型编码</param>
        Task<List<SysDictData>> GetDictDatasByTypeCodeAsync(string dictTypeCode);

        /// <summary>获取所有启用的字典数据</summary>
        Task<List<SysDictData>> GetAllDictDatasAsync();
    }
}
